package com.lsh.oms.api.service.es;

import java.util.List;

/**
 * Created by panxudong on 16/8/26.
 */
public interface EsAsyncInterface {

    <T> void batchCreateIndex(List<T> orderList);

    <T> void batchEditIndex(List<T> orderList);

    <T> void createIndex(T order);

    <T> void editIndex(T order);

    <T> void deleteIndex(T order);
}
